* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
}

#root {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    .header {
        height: 46px;
        background: skyblue;
        line-height: 46px;
        text-align: center;
    }
    .main {
        flex: 1;
        .swiper-container {
            width: 100%;
            height: 300px;
            img {
                width: 100%;
                height: 300px;
            }
        }
    }
    .footer {
        height: 46px;
        background: tomato;
        line-height: 46px;
        text-align: center;
    }
}
